package com.yunban.project.api.text_check.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.handlers.Fastjson2TypeHandler;
import com.yunban.project.api.text_check.utils.TextCorrectionMatchResp;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

/**
 * @author: lijiajun
 * @date: 2024-12-05
 * @version: 1.0
 */
@Data
@Schema(description = "文本纠错任务详情")
public class CorrectTaskDetailsResp implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "任务详情id")
    private long id;
    @Schema(description = "任务顺序")
    private int sort;
    @Schema(description = "纠错句子")
    private String sentence;
    @Schema(description = "纠错句子开始下标")
    private int startIndex;
    @Schema(description = "纠错句子结束下标")
    private int endIndex;
    @Schema(description = "纠错结果")
    private List<TextCorrectionMatchResp> result;
}
